﻿<%@ Page Language="C#" MasterPageFile="~/User/UserControl.Master" AutoEventWireup="true"
    CodeBehind="SJManage.aspx.cs" Inherits="BtoBSWT315.User.SJManage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table id="Table1" cellspacing="0" cellpadding="5" width="98%" border="0">
        <tr>
           <td width="160">
                <font color="#ff3300">小贴示：<font color="#000000">管理供求信息</font></font>
            </td>
            <td>
                <table id="Table2" cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr>
                         <td width="20">
                            <asp:Image ID="Image1" runat="server" ImageUrl="Images/search.gif"></asp:Image>
                        </td>
                         <td width="400">
                            搜索关键字：
                            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:DropDownList ID="DropDownList1"
                                runat="server">
                                <asp:ListItem Value="0" Selected="True">--请选择类别--</asp:ListItem>
                                <asp:ListItem Value="采购">采购</asp:ListItem>
                                <asp:ListItem Value="合作">合作</asp:ListItem>
                                <asp:ListItem Value="供应">供应</asp:ListItem>
                                <asp:ListItem Value="代理">代理</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                         <td align=left>
                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="Images/search1.gif" 
                                >
                            </asp:ImageButton>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <p>
        <asp:DataGrid ID="DataGrid1" runat="server" GridLines="Vertical" DataKeyField="info_ID"
            PageSize="18" HorizontalAlign="Center" AllowPaging="True" AllowCustomPaging="True"
            Width="98%" AutoGenerateColumns="False" CellPadding="3" BackColor="White" BorderWidth="1px"
            BorderStyle="None" BorderColor="#999999">
            <SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#008A8C"></SelectedItemStyle>
            <AlternatingItemStyle BackColor="Gainsboro"></AlternatingItemStyle>
            <ItemStyle ForeColor="Black" BackColor="#EEEEEE"></ItemStyle>
            <HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="White" BackColor="#000084">
            </HeaderStyle>
            <FooterStyle ForeColor="Black" BackColor="#CCCCCC"></FooterStyle>
            <Columns>
                <asp:BoundColumn DataField="Info_ID" HeaderText="ID号"></asp:BoundColumn>
                <asp:BoundColumn DataField="type" HeaderText="商机类型"></asp:BoundColumn>
                <asp:HyperLinkColumn DataNavigateUrlField="info_id" DataNavigateUrlFormatString="Edit_sj.aspx?ID={0}"
                    DataTextField="showname" HeaderText="信息标题"></asp:HyperLinkColumn>
                <asp:HyperLinkColumn DataNavigateUrlField="mail" DataNavigateUrlFormatString="mailto:{0}"
                    DataTextField="linkman" HeaderText="发布人"></asp:HyperLinkColumn>
                <asp:BoundColumn DataField="dateandtime" HeaderText="发布日期" DataFormatString="{0:D}">
                </asp:BoundColumn>
                <%--<asp:HyperLinkColumn Text="已审核" DataNavigateUrlField="info_ID" DataNavigateUrlFormatString="shenghe2.aspx?ID={0}"
								HeaderText="审核">
								<ItemStyle HorizontalAlign="Center" ForeColor="#00CC00"></ItemStyle>
							</asp:HyperLinkColumn>--%>
                <asp:HyperLinkColumn Text="&lt;img src=Images/edit_1.gif border=0&gt;" DataNavigateUrlField="info_id"
                    DataNavigateUrlFormatString="Edit_sj.aspx?ID={0}" HeaderText="编辑">
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:HyperLinkColumn>
                <asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                </asp:ButtonColumn>
            </Columns>
            <PagerStyle HorizontalAlign="Right" ForeColor="Black" BackColor="#999999" PageButtonCount="20"
                Mode="NumericPages"></PagerStyle>
        </asp:DataGrid></p>
</asp:Content>
